<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="inspectId" name="inspectId" th:value="${inspectId}" type="hidden">
                        	<input id="inspectType" name="inspectType" th:value="${inspectType}" type="hidden">
							<input id="templateId" name="templateId" th:value="${templateDTO.templateId}" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">核查项名称：</label>
								<div class="col-sm-8">
									<input id="templateName" name="templateName"
										class="form-control" type="text" th:value="${templateDTO.templateName}" required>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">核查表：</label>
								<div class="col-sm-8">
									<input id="otableId" name="otableId" th:value="${templateDTO.tableId}" type="hidden">
									<select data-placeholder="--请选择核查表--" id="tableId" name="tableId" class="chosen-select222 form-control chosen-select" required="required">
										<option value="">--请选择核查表--</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">核查明细字段：</label>
								<div class="col-sm-8">
									<input id="ocolumnName" name="ocolumnName" th:value="${templateDTO.columnName}" type="hidden">
									<select data-placeholder="--请选择请选择核查明细字段--" multiple="multiple" id="columnId" name="columnId" class="chosen-select222 form-control chosen-select" required>
									</select>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-9 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
	<script type="text/javascript" src="/js/app/app/inspecttemplate/edit.js"
		th:src="@{/js/app/app/inspecttemplate/edit.js}"></script>
</body>
</html>
